package com.wudi;

public class EntityBWM extends Car{
    public EntityBWM(){
        super.carname="普通宝马";
    }
    public EntityBWM(String name){
        super.carname=name;
    }

    public String showInfo(){
        return "我是宝马车\n"+"名字是"+super.carname;
    }

}
